package cn.kgc.vueair.service.impl;

import cn.kgc.vueair.mapper.DistrictMapper;
import cn.kgc.vueair.pojo.District;
import cn.kgc.vueair.service.DistrictService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class DistrictServiceImpl implements DistrictService{
    @Resource
    DistrictMapper districtMapper;
    @Override
    public List<District> selectAll() {
      List<District> districtList=districtMapper.selectByExample(null);
        return districtList;
    }
}
